package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

public class SRMWorkOrderDTO {
    /**
     * MES工单号
     */
    @Excel(name = "MES工单号")
    @ApiModelProperty("MES工单号")
    private String SRM_No;

    /**
     * 生产订单号
     */
    @Excel(name = "生产订单号")
    @ApiModelProperty("生产订单号")
    private String Mo_Code;

    /**
     * 生产订单行号
     */
    @Excel(name = "生产订单行号")
    @ApiModelProperty("生产订单行号")
    private String Mo_SortSeq;

    /**
     * 存货编码
     */
    @Excel(name = "存货编码")
    @ApiModelProperty("存货编码")
    private String Inv_Code;

    /**
     * 存货名称
     */
    @Excel(name = "存货名称")
    @ApiModelProperty("存货名称")
    private String Inv_Name;

    /**
     * 规格型号
     */
    @Excel(name = "规格型号")
    @ApiModelProperty("规格型号")
    private String Inv_Std;
    /**
     * 工单状态
     */
    /*
     * 单据状态【0.未锁定1.已排程2.已锁定3.已派工4.已下达5.开工6.报工7.完工8.停工9.已暂停】
     * */
    @Excel(name = "工单状态")
    @ApiModelProperty("工单状态")
    private String Status;

    /**
     * 客户产品
     */
    @Excel(name = "检验类型")
    @ApiModelProperty("检验类型")
    private String type;

    /**
     * 供应商
     */
    @Excel(name = "供应商")
    @ApiModelProperty("供应商")
    private String Supplier;

    public String getSRM_No() {
        return SRM_No;
    }

    public void setSRM_No(String SRM_No) {
        this.SRM_No = SRM_No;
    }

    public String getMo_Code() {
        return Mo_Code;
    }

    public void setMo_Code(String mo_Code) {
        Mo_Code = mo_Code;
    }

    public String getMo_SortSeq() {
        return Mo_SortSeq;
    }

    public void setMo_SortSeq(String mo_SortSeq) {
        Mo_SortSeq = mo_SortSeq;
    }

    public String getInv_Code() {
        return Inv_Code;
    }

    public void setInv_Code(String inv_Code) {
        Inv_Code = inv_Code;
    }

    public String getInv_Name() {
        return Inv_Name;
    }

    public void setInv_Name(String inv_Name) {
        Inv_Name = inv_Name;
    }

    public String getInv_Std() {
        return Inv_Std;
    }

    public void setInv_Std(String inv_Std) {
        Inv_Std = inv_Std;
    }

    public String getStatus() {
        return Status;
    }

    public void setStatus(String status) {
        Status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSupplier() {
        return Supplier;
    }

    public void setSupplier(String supplier) {
        Supplier = supplier;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("Mo_Code", getMo_Code())
                .append("orderLine", getMo_SortSeq())
                .append("Inv_Code", getInv_Code())
                .append("Inv_Name", getInv_Name())
                .append("Inv_Std", getInv_Std())
                .append("type", getType())
                .append("supplier", getSupplier())
                .toString();
    }
}
